Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NSize Structure
Fields Properties Methods


In This Topic
    NSize Structure Members
    In This Topic

    The following tables list the members exposed by NSize.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldheight  
    Public Fieldstatic (Shared in Visual Basic)The undefined size - (Double.NaN, Double.NaN).  
    Public Fieldwidth  
    Public Fieldstatic (Shared in Visual Basic)The zero size - (0, 0).  
    Top
    Public Properties
     NameDescription
    Public PropertyChecks whether both the Width and the Height of this size are defined (i.e. they are not Double.NaN).  
    Public PropertyDetermines whether this is an empty size (e.g. width and height are 0)  
    Top
    Public Methods
     NameDescription
    Public MethodDeflates this size with the specified margins  
    Public MethodDeserializes the object state from the specified property bag.  
    Public MethodOverloaded. Checks whether this size is equal to the other size  
    Public MethodFlips the Width and Height values.  
    Public MethodServes as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.  
    Public MethodGets the max of Width and Height  
    Public MethodGets the min of Width and Height  
    Public MethodInflates this size with the specified margins  
    Public MethodRound this size.  
    Public MethodScales this size with the specified factors  
    Public MethodSerializes the object state into the specified property bag.  
    Public MethodConverts this size to NPoint.  
    Public MethodReturns the string representation of this object  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a size whose width is the max of size1.Width and size2.Width, and whose height is the max of size1.Height and size2.Height.  
    Top
    Protected Methods
     NameDescription
    Internal Method  
    Top
    Public Operators
    Adds b size to a size and returns the resulting size (binary +)
    Determines whether a is equal to b
    Determines whether a is not equal to b
    Subtracts b size from a size and returns the resulting size (binary -)
    Top
    See Also