In This Topic
A standard constructor for the GdViewer class. It initializes an instance of the GdViewer class, which subsequently allows you
to perform all available operations with supported documents.
Syntax
'Declaration
Public Function New()
public function GdViewer();
Example
How to create and integrate the GdViewer control into your application.
'Define GdViewer object in your application.
Friend WithEvents GdViewer1 As GdViewer
'Create an instance.
GdViewer1 = New GdViewer()
'Set your preferred properties here.
GdViewer1.Name = "GdViewer1"
'...
'Add to your application controls.
Controls.Add(GdViewer1)
'Probably the GdViewer1 instance is disposed of automatically in your application,
'but you can still do it this way.
'GdViewer1.Dispose()
//Define GdViewer object in your application.
internal GdViewer GdViewer1;
//Create an instance.
GdViewer1 = new GdViewer();
//Set your preferred properties here.
GdViewer1.Name = "GdViewer1";
//...
//Add to your application controls.
Controls.Add(GdViewer1);
//Probably the GdViewer1 instance is disposed of automatically in your application,
//but you can still do it this way.
//GdViewer1.Dispose();
Example
How to create and integrate the GdViewer control into your application.
'Define GdViewer object in your application.
Friend WithEvents GdViewer1 As GdViewer
'Create an instance.
GdViewer1 = New GdViewer()
'Set your preferred properties here.
GdViewer1.Name = "GdViewer1"
'...
'Add to your application controls.
Controls.Add(GdViewer1)
'Probably the GdViewer1 instance is disposed of automatically in your application,
'but you can still do it this way.
'GdViewer1.Dispose()
//Define GdViewer object in your application.
internal GdViewer GdViewer1;
//Create an instance.
GdViewer1 = new GdViewer();
//Set your preferred properties here.
GdViewer1.Name = "GdViewer1";
//...
//Add to your application controls.
Controls.Add(GdViewer1);
//Probably the GdViewer1 instance is disposed of automatically in your application,
//but you can still do it this way.
//GdViewer1.Dispose();
See Also