GdPicture.NET Reference Guide
SetVerticalResolution Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : SetVerticalResolution Method
GdPicture Image Identifier.
The new vertical resolution in Dot Per Inch (DPI).
Changes the vertical resolution of a GdPicture image.
Syntax
'Declaration
 
Public Function SetVerticalResolution( _
   ByVal ImageID As Integer, _
   ByVal VerticalResolution As Single _
) As GdPictureStatus
public GdPictureStatus SetVerticalResolution( 
   int ImageID,
   float VerticalResolution
)
public function SetVerticalResolution( 
    ImageID: Integer;
    VerticalResolution: Single
): GdPictureStatus; 
public function SetVerticalResolution( 
   ImageID : int,
   VerticalResolution : float
) : GdPictureStatus;
public: GdPictureStatus SetVerticalResolution( 
   int ImageID,
   float VerticalResolution
) 
public:
GdPictureStatus SetVerticalResolution( 
   int ImageID,
   float VerticalResolution
) 

Parameters

ImageID
GdPicture Image Identifier.
VerticalResolution
The new vertical resolution in Dot Per Inch (DPI).

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method is used in the "Image Processing" Demo.
Example
Setting the image's vertical resolution.
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer
Dim VRes As Integer
ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("")
VRes = 200
oGdPictureImaging.SetVerticalResolution(ImageID, VRes)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
SetHorizontalResolution Method