Question about object creation by code

johnnixjohnnix Serrai, Greece
edited 9:37AM in FastReport 4.0
Hello,

Is there a way to set object properties like left, height etc. in centimeters when creating the object by code? For example:

aPic := TfrxPictureView.Create(TfrxMasterData(aBand));
aPic.CreateUniqueName;
aPic.Width := 5.30; // <
Can this be entered in centimeters

Regards

Comments

  • gpigpi
    edited 9:37AM
    Use aPic.Width := 5.30 * fr1cm;

Leave a Comment