C# Class Rotativa.AsPdfResultBase

Inheritance: System.Web.Mvc.ActionResult
ファイルを表示 Open project: scoorf/Rotativa

Public Properties

Property Type Description
PageMargins Margins

Private Properties

Property Type Description
GetWkParams string
SanitizeFileName string

Public Methods

Method Description
ExecuteResult ( ControllerContext context ) : void

Protected Methods

Method Description
AsPdfResultBase ( ) : System
GetConvertOptions ( ) : string

Returns properties with OptionFlag attribute as one line that can be passed to wkhtmltopdf binary.

GetUrl ( ControllerContext context ) : string
PrepareResponse ( System.Web.HttpResponseBase response ) : System.Web.HttpResponseBase

Private Methods

Method Description
GetWkParams ( ControllerContext context ) : string
SanitizeFileName ( string name ) : string

Method Details

AsPdfResultBase() protected method

protected AsPdfResultBase ( ) : System
return System

ExecuteResult() public method

public ExecuteResult ( ControllerContext context ) : void
context ControllerContext
return void

GetConvertOptions() protected method

Returns properties with OptionFlag attribute as one line that can be passed to wkhtmltopdf binary.
protected GetConvertOptions ( ) : string
return string

GetUrl() protected abstract method

protected abstract GetUrl ( ControllerContext context ) : string
context ControllerContext
return string

PrepareResponse() protected method

protected PrepareResponse ( System.Web.HttpResponseBase response ) : System.Web.HttpResponseBase
response System.Web.HttpResponseBase
return System.Web.HttpResponseBase

Property Details

PageMargins public_oe property

Sets the page margins.
public Margins PageMargins
return Margins