GdPicture.NET.14.MAUI
GdPicture14.MAUI Namespace / GdViewer Class / LoadDocument Method / LoadDocument(GdPicturePDF,Boolean) Method
A GdPicturePDF object specifying the document to load.
A flag specifying if the viewer is responsible to handle disposing of the pdf parameter. The default value is true.





In This Topic
LoadDocument(GdPicturePDF,Boolean) Method
In This Topic
Loads a document from a GdPicturePDF object.
Syntax
'Declaration
 
Public Overloads Sub LoadDocument( _
   ByVal pdf As GdPicturePDF, _
   Optional ByVal ownSource As Boolean _
) 
public void LoadDocument( 
   GdPicturePDF pdf,
   bool ownSource
)
public procedure LoadDocument( 
    pdf: GdPicturePDF;
    ownSource: Boolean
); 
public function LoadDocument( 
   pdf : GdPicturePDF,
   ownSource : boolean
);
public: void LoadDocument( 
   GdPicturePDF* pdf,
   bool ownSource
) 
public:
void LoadDocument( 
   GdPicturePDF^ pdf,
   bool ownSource
) 

Parameters

pdf
A GdPicturePDF object specifying the document to load.
ownSource
A flag specifying if the viewer is responsible to handle disposing of the pdf parameter. The default value is true.
See Also