Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSmartGlyph.SourceWidth Property

Specifies the container’s image display width, in pixels.

#Declaration

Delphi
property SourceWidth: Integer read; write;

#Property Value

Type Description
Integer

The container’s image display width, in pixels.

#Remarks

You can use SourceWidth and SourceHeight properties to adjust the stored glyph’s dimensions on a screen. If unspecified, these properties return the current dimensions of the stored image (Width and Height property values).

Tip

The stored image’s on-screen width is the product of the SourceWidth property value and the ratio between the current monitor DPI and the SourceDPI property value.

#Default Value

The SourceWidth property’s default value is 0.

The default SourceWidth property value indicates that the container’s width matches the width of the stored image. The SourceWidth property returns the Width property value.

See Also