Nevron .NET Vision
Nevron.Diagram Namespace / NDrawingDocument Class / CustomScale Property


In This Topic
    CustomScale Property
    In This Topic
    Get/set the ratio between MeasurementUnit and WorldMeasurementUnit, when DrawingScaleMode is set to CustomScale
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Drawing Scale")>
    <System.ComponentModel.DescriptionAttribute("Get/set the ratio between MeasurementUnit and WorldMeasurementUnit, when DrawingScaleMode is set to CustomScale")>
    <System.ComponentModel.DefaultValueAttribute(1)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property CustomScale As System.Single
    'Usage
     
    
    Dim instance As NDrawingDocument
    Dim value As System.Single
     
    instance.CustomScale = value
     
    value = instance.CustomScale
    [System.ComponentModel.Category("Drawing Scale")]
    [System.ComponentModel.Description("Get/set the ratio between MeasurementUnit and WorldMeasurementUnit, when DrawingScaleMode is set to CustomScale")]
    [System.ComponentModel.DefaultValue(1)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float CustomScale {get; set;}
    Remarks
    By default set to 1
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also