Skip to content

SaveOnServerPath not work #66

@zanyar3

Description

@zanyar3

ViewAsPdf use to Save file on Server Path but not work by SaveOnServerPath Property

var pdfname = String.Format("{0}.pdf", Guid.NewGuid().ToString());
var path = Path.Combine(@"MyPathProject\wwwroot\doc\Claim\Request", pdfname);
path = Path.GetFullPath(path);
var pdfResult = new ViewAsPdf
{
     ViewName = "_ToPDF",
     Model = memo,
     FileName = pdfname,
     SaveOnServerPath = path
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions