Forums

Welcome Guest Search | Active Topics | Members

Draw Frame for VObject Options
ChingYen
Posted: Friday, May 02, 2008 11:01:53 PM
Rank: Advanced Member
Groups: Member

Joined: 3/3/2008
Posts: 46
Points: 138
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
Posted: Saturday, May 03, 2008 2:34:17 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 1/31/2005
Posts: 380
Points: 385
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.


    Best wishes, Alex.
  • Users browsing this topic
    Guest


    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.

    Main Forum RSS : RSS

    YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
    Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
    Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.