We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Measure Line

Thread ID:

Created:

Updated:

Platform:

Replies:

70957 Jan 9,2008 11:42 PM UTC Jan 22,2008 05:31 PM UTC WinForms 3
loading
Tags: Diagram
ERobishaw
Asked On January 9, 2008 11:42 PM UTC

I see there is a measure line in the Basic Symbols pallete.

How is this accomplished?

If I wanted to create a symbol like it, that automatically measures, but with an adjustable font size, how do I go about it?

And, more generally, how does one go about creating custom PROGRAMMATIC symbols (symbols with special behavior, such as the measure line) and put those into a symbol pallete?


Thanks
Eric


Jisha Joy [Syncfusion]
Replied On January 12, 2008 06:48 AM UTC

Hi ERobishaw ,
Thank you for your interest in SYncfusion Products.

You can use the Symbol designer for creating custom symbols.
You can use the Symbol designer from the below location:
Program Files\Syncfusion\Essential Studio\X.X.X.X\Windows\Diagram.Windows\Symbol Designer

Online Documentation link for using Symbol Designer:
http://www2.syncfusion.com/ug_61/diagram/SymbolDesigner.html

Please refere the below Browser sample for Custom Symbols
\\Syncfusion\EssentialStudio\X.X.X.X\Windows\Diagram.Windows\Samples\2.0\Symbol Design\CustomSymbol

Kindly try this and let me know if this helps.
Regards,
Jisha


ERobishaw
Replied On January 15, 2008 08:24 PM UTC

Please read the message before responding with a generic answer!!!! (Almost every message I leave here gets answered this way, and it's quite a waste of time).


I want to create a PROGRAMMATIC symbol similar to the Measure Line symbol.

This cannot be done with the Diagram designer.




Administrator [Syncfusion]
Replied On January 22, 2008 05:31 PM UTC

Hi ERobishaw,

Sorry for the delayed response in getting back to you.

MeasureLine

You can draw measure line using Syncfusion.Windows.Forms.Diagram.MeasureLine class. The following code snippet illustrates this.

[C#]

// Start point
System.Drawing.PointF start = new System.Drawing.PointF(40, 0);
// End point
System.Drawing.PointF end = new System.Drawing.PointF(40, 100);

Syncfusion.Windows.Forms.Diagram.MeasureLine line = new MeasureLine(start, end);
this.diagram1.Model.AppendChild(line);

Sample reference

Please refer the sample that demonstrates the same.

http://websamples.syncfusion.com/samples/Diagram.Windows/F70957/main.htm

Please let me know if this helps you.

Regards,
Jaya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;