ImageGear .NET v25.0 - Updated
calloutLineIsDistinct Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > Mark class : calloutLineIsDistinct Property
Specifies whether the callout has an outline that is distinct from the outline of the text mark.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_calloutLineIsDistinct() : Boolean
function set_calloutLineIsDistinct(value : Boolean)
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfMark.get_calloutLineIsDistinct();
Example

This JavaScript code will create the mark shown in the image on this page.

// Create a new text mark.
var mark = new ImageGear.Web.UI.Mark(ImageGear.Web.UI.MarkType.Text);

// Set various properties.
mark.set_rectangle({ x: 100, y: 200, width: 300, height: 150 });
mark.set_text('This text mark has a distinctly-styled callout.');
mark.set_lineWidth(6);
mark.set_fontSize(24);
mark.set_calloutVisible(true);
mark.set_calloutType(ImageGear.Web.UI.CalloutType.Line);
mark.set_calloutPoint(new ImageGear.Web.UI.Point(275, 225));
mark.set_calloutLineIsDistinct(true);
mark.set_calloutLineWidth(4);
mark.set_calloutLineStyle(ImageGear.Web.UI.LineStyle.Dash);
mark.set_calloutLineColor('#b4b400');
mark.set_fillVisible(false);
mark.set_fontStyle(ImageGear.Web.UI.FontStyle.Bold);
mark.set_textOpacity(127);

// Add the mark to the page.
// Adding it after setting the properties avoids a lot of needless markChanged events.
$find('PageView1').get_artPage().addMark(mark);
Remarks

This property specifies whether the callout has an outline that is distinct from the outline of the text mark. If this property is false, the viewer will use the lineColor and lineStyle properties instead of calloutLineColor and calloutLineStyle. If you change the value of this property, this object will raise its propertyChanged event.

This figure shows a text mark with a callout whose outline is distinct from the outline of the rest of the text mark.

Mark types: This property is valid for Text marks.
Valid values: true or false
Default value: false

ImageGear for .NET name: Callout.Line
NotateXpress (version 10) name: N/A

See Also

Reference

Mark class
Mark Members