Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / SetHorizontalResolution Method
GdPicture image identifier.
The new horizontal resolution in Dot Per Inch (DPI).





In This Topic
    SetHorizontalResolution Method (GdPictureImaging)
    In This Topic
    Changes the horizontal resolution of a GdPicture image.
    Syntax
    'Declaration
     
    
    Public Function SetHorizontalResolution( _
       ByVal ImageID As Integer, _
       ByVal HorizontalResolution As Single _
    ) As GdPictureStatus
    public GdPictureStatus SetHorizontalResolution( 
       int ImageID,
       float HorizontalResolution
    )
    public function SetHorizontalResolution( 
        ImageID: Integer;
        HorizontalResolution: Single
    ): GdPictureStatus; 
    public function SetHorizontalResolution( 
       ImageID : int,
       HorizontalResolution : float
    ) : GdPictureStatus;
    public: GdPictureStatus SetHorizontalResolution( 
       int ImageID,
       float HorizontalResolution
    ) 
    public:
    GdPictureStatus SetHorizontalResolution( 
       int ImageID,
       float HorizontalResolution
    ) 

    Parameters

    ImageID
    GdPicture image identifier.
    HorizontalResolution
    The new horizontal resolution in Dot Per Inch (DPI).

    Return Value

    A member of the GdPictureStatus enumeration.
    Remarks
    This method is used in the "Image Processing" Demo.
    See Also