Skip to main content

dxAssignFont(TFont,TFont,TdxScaleFactor,TdxScaleFactor) Method

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

Declaration

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