ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to remove space between Rulers and ImageEn

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Jan 04 2019 : 06:18:40
Hello,

I am using following code to add Rulers to ImageEn:

//Setup Rulers
ieViewMain.RulerParams.Units := ieruInches;
ieViewMain.ShowRulers := [ rdHorizontal, rdVertical ];
ieViewMain.RulerParams.DisplayNegativeValues := ienvDisabled;
ieViewMain.RulerParams.ConstrainGrips := True;


This is giving following in the software:




How to remove the white space between the rulers and imageen contents?

TIA


Yogi Yang
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 29 2019 : 04:49:37
In the next week or two. We are just finalizing some features in IEVision.

Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jan 28 2019 : 23:17:29
Thanks Nigel for add this to IE update.

BTW when are you going to release this update?

TIA


Yogi Yang
xequte Posted - Jan 28 2019 : 00:00:33
To hide the ruler in 8.3.0, you can use:

ImageEnView1.RulerParams.GripHeight := 0;

Nigel
Xequte Software
www.imageen.com
xequte Posted - Jan 07 2019 : 18:14:45
Hi Yogi

The white space is used to indicate the current position of the cursor. At present it cannot be hidden, as the ruler is not very functional without it, but I will look at making it an option in a coming version (maybe drawing inidictor directly onto ruler).

In the meantime, you can reduce its size by setting ImageEnView1.RulerParams.HorzHeight/VertWidth.



Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jan 07 2019 : 02:24:56
Bill,

Sorry actually the problem is not solved.

After trying you suggestion what I did was load an image to check it but unfortunately I loaded an image which had white background so all things were looking great and as expected but today when I load a dark background image the white space between ImageEn and Ruler is evident.

So setting the ruler parameter:
ImageEnView1.RulerParams.ShowBorder := False;
Does not remove the white space but instead does not draw a thin 1 pixel border between ImagenEn and rulers.

This is not what I want.

I want to get rid of the white space between the rulers and ImageEn as this is looking very unprofessional.

TIA


Yogi Yang
yogiyang Posted - Jan 05 2019 : 22:49:22
Bill,

Thanks for your help. I have managed to solve this problem!


Yogi Yang
w2m Posted - Jan 04 2019 : 09:58:17
ImageEnView1.RulerParams.ShowBorder := False;
Specify whether a border is displayed between the ruler and the image.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development