SftButton/OCX 2.5

SftPictureObject.Height Property

Softel vdm, Inc.

Defines the desired image height.

Syntax       

Get

VB.NET

HPix = object.Height  As Integer

VB

HPix = object.Height  As Long

C#.NET

int HPix = object.Height;

VC++

long HPix = object->Height;
long HPix = object->GetHeight();

C

HRESULT object->get_Height(long* HPix);

Delphi

HPix := object.Height   : Integer;

Put

VB.NET

object.Height = HPix  As Integer

VB

object.Height = HPix  As Long

C#.NET

int object.Height = HPix;

VC++

long object->Height = HPix;
void object->PutHeight(long HPix);

C

HRESULT object->put_Height(long HPix);

Delphi

object.Height := HPix   : Integer;

object

A SftPictureObject object.

HPix

Defines the desired image height.

Comments

The Height property defines the desired image height.

The desired image height is only used for built-in images (SftPictureObject.Type is sftTypeBuiltin) and color samples (SftPictureObject.Type is sftTypeColorSample).  For all image types, the SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image dimensions.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com