Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Friday, May 2, 2008 3:01:53 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

Just wondering, it that possible to "draw frame" for imageVObject?

Example, I would like to add a photo, and I would like the photo to be inside black border, or dark blue border...

Please advice.
Alex Kon  
#2 Posted : Friday, May 2, 2008 6:34:17 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups:
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hi,

I can suggest you 3 ways:
  • Draw any border on the image itself. Easiest way, however it may be non acceptable for many reasons.
  • Create rectangle VObject of the same size and modify it in the same way, as ImageVObject. Or you may unite it in a single CompositeVObject instance.
  • Create your custom VObject inherited from the ImageVObject. Actually ImageVObject already stores RectangleVObject inside, which is used for internal needs. Currently it is invisible, but you can easily assign any color pen to it and get frame around the image.
  • Edited by user Friday, May 2, 2008 6:35:37 PM(UTC)  | Reason: Not specified

    Users browsing this topic
    Forum Jump  
    You cannot post new topics in this forum.
    You cannot reply to topics in this forum.
    You cannot delete your posts in this forum.
    You cannot edit your posts in this forum.
    You cannot create polls in this forum.
    You cannot vote in polls in this forum.