CodeCarvings.Piczard
FromRectangle(Generic Nullable,JSONSerializationOptions) Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONConverter Class > FromRectangle Method : FromRectangle(Generic Nullable,JSONSerializationOptions) Method

value
The Rectangle object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.
Serializes the specified Rectangle object into a JSONObject using the provided JSONSerializationOptions.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function FromRectangle( _
   ByVal value As Nullable(Of Rectangle), _
   ByVal options As JSONSerializationOptions _
) As JSONObject
C#  
public static JSONObject FromRectangle( 
   Nullable<Rectangle> value,
   JSONSerializationOptions options
)

Parameters

value
The Rectangle object to serialize.
options
An instance of the JSONSerializationOptions class containing data for the JSON serialization process.

Return Value

An instance of the JSONObject class containing the representation of the original Rectangle object.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.