Method | Description | |
---|---|---|
FromFile ( string path ) : |
Creates an XPdfForm from a file.
|
|
FromStream ( Stream stream ) : |
Creates an XPdfForm from a stream.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Frees the memory occupied by the underlying imported PDF document, even if other XPdfForm objects refer to this document. A reuse of this object doesn't fail, because the underlying PDF document is re-imported if necessary.
|
Method | Description | |
---|---|---|
Finish ( ) : void |
Sets the form in the state FormState.Finished.
|
|
XPdfForm ( Stream stream ) : System |
Initializes a new instance of the XPdfForm class from a stream.
|
|
XPdfForm ( string path ) : System |
Initializes a new instance of the XPdfForm class from the specified path to an external PDF document. Although PDFsharp internally caches XPdfForm objects it is recommended to reuse XPdfForm objects in your code and change the PageNumber property if more than one page is needed form the external document. Furthermore, because XPdfForm can occupy very much memory, it is recommended to dispose XPdfForm objects if not needed anymore.
|
public static FromFile ( string path ) : |
||
path | string | |
return |
public static FromStream ( Stream stream ) : |
||
stream | Stream | |
return |