Unregistered
December 12, 2002, 09:04:22
Hi,
several attemps have been try on resizing the horizontal and vertical scaling for the image that insert as character. When we resize both horizontal and vertical scaling using .horizontalscaling and .verticalscaling method at the same time, only the lower setting take effect.
sample code :
---
Dim img as txtextcontrol.image
Dim tx as txtextcontrol.textcontrol
img = tx.images.getitem
img.horizontalscaling = 50
img.verticalscaling = 50 <-- only this line will take effect.
---
this suspect as component bug. please kindly look into this matter and feedback are appreciate.
regards.
Alex Cheong.
This message was originally posted by Alex Cheong in the old TX Text Control Support Forum.
several attemps have been try on resizing the horizontal and vertical scaling for the image that insert as character. When we resize both horizontal and vertical scaling using .horizontalscaling and .verticalscaling method at the same time, only the lower setting take effect.
sample code :
---
Dim img as txtextcontrol.image
Dim tx as txtextcontrol.textcontrol
img = tx.images.getitem
img.horizontalscaling = 50
img.verticalscaling = 50 <-- only this line will take effect.
---
this suspect as component bug. please kindly look into this matter and feedback are appreciate.
regards.
Alex Cheong.
This message was originally posted by Alex Cheong in the old TX Text Control Support Forum.