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

dxAssignFont(TFont,TFont,TdxScaleFactor,TdxScaleFactor) Method

Assigns the source font’s settings to the target font and scales it.

#Declaration

Delphi
procedure dxAssignFont(ATargetFont: TFont; ASourceFont: TFont; ATargetScaleFactor: TdxScaleFactor; ASourceScaleFactor: TdxScaleFactor);

#Parameters

Name Type
ATargetFont TFont
ASourceFont TFont
ATargetScaleFactor TdxScaleFactor
ASourceScaleFactor TdxScaleFactor

#Remarks

Call this global procedure to copy settings between two fonts and take both their scale factors into account. Use the ATargetFont, ASourceFont, ATargetScaleFactor, and ASourceScaleFactor parameters to pass the both fonts and their corresponding scale factors.

See Also