SftButton/OCX 2.5

SftPictureObject.ActualWidth Property

Softel vdm, Inc.

Returns the actual width of the image.

Syntax       

Get

VB.NET

WPix = object.ActualWidth  As Integer

VB

WPix = object.ActualWidth  As Long

C#.NET

int WPix = object.ActualWidth;

VC++

long WPix = object->ActualWidth;
long WPix = object->GetActualWidth();

C

HRESULT object->get_ActualWidth(long* WPix);

Delphi

WPix := object.ActualWidth   : Integer;

object

A SftPictureObject object.

WPix

Returns the actual width of the image.

Comments

The ActualWidth property returns the actual width of the image.

The SftPictureObject.Width property returns the desired image width, last defined by the application.  The desired width is only used for certain image types (see SftPictureObject.Type).


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