DocRender Method (Object, Int32)
|
Render a particular page to an ABCpdf Doc
object.
Namespace: WebSupergoo.WordGlue4
Assembly: WordGlue4 (in WordGlue4.dll)
Version: 4.1.0.0 (4.1.0.0)
Syntax
public IDisposable Render(
Object doc,
int page
)
Public Function Render (
doc As Object,
page As Integer
) As IDisposable
member Render :
doc : Object *
page : int -> IDisposable
Parameters
- doc
- Type: SystemObject
The ABCpdf Doc object that output should be rendered to. Content is
output to the current page. The page MediaBox and Rect should be
set appropriately before this method is called. After this method
has been called you may wish to flatten the page to reduce file
size.
- page
- Type: SystemInt32
The page number to render. So for the first page you would pass
one.
Return Value
Type:
IDisposable
A context to be disposed after the document has been saved.
See Also