Search
JsonPersistContext Methods
 


 Public Methods

  Name Description

LoadItem

Reads a diagram item from the specified JsonObject.

Parse

Deserializes the specified JSON formatted string to a JsonObject. (Inherited from JsonContext.)

ReadAnchorPattern

Reads an AnchorPattern object.

ReadBrush

Overloaded.   (Inherited from JsonContext.)

ReadBrushColor

Reads a Brush object with the specified color. (Inherited from JsonContext.)

ReadBrushes

Reads all brushes. (Inherited from JsonContext.)

ReadColor

Overloaded.   (Inherited from JsonContext.)

ReadColorBlend

Overloaded.   (Inherited from JsonContext.)

ReadComposite

Reads the properties of a CompositeNode, which are marked with the AutoJson attribute.

ReadEffect

Reads a NodeEffect object.

ReadEnum

Reads an enum value. (Inherited from JsonContext.)

ReadFloatArray

Reads a float array. (Inherited from JsonContext.)

ReadFont

Reads a Font object.

ReadImage

Reads an Image object. (Inherited from JsonContext.)

ReadImages

Reads all images. (Inherited from JsonContext.)

ReadItemId

Reads an item reference.

ReadObject

Reads an object. (Inherited from JsonContext.)

ReadPen

Overloaded.   (Inherited from JsonContext.)

ReadPointF

Reads a Point object. (Inherited from JsonContext.)

ReadPointString

Reads a Point string. (Inherited from JsonContext.)

ReadRectangleF

Reads a Rect object. (Inherited from JsonContext.)

ReadShape

Reads a Shape object.

ReadSizeF

Reads a SizeF object. (Inherited from JsonContext.)

ReadStringFormat

Reads a StringFormat object. (Inherited from JsonContext.)

ReadStyle

Reads a Style object.

ReadSvg

Reads a SVG objec.

ReadTag

Reads the specified tag for the specified object.

ReadTheme

Reads a Theme object.

ReadThickness

Reads a Thickness object.

SaveItem

Saves the specified diagram item to a JsonObject.

Serialize

Serializes the specified JsonObject to a JSON formatted string. (Inherited from JsonContext.)

WriteAnchorPattern

Writes an AnchorPattern object.

WriteBrush

Writes a MindFusion.Drawing.Brush object. (Inherited from JsonContext.)

WriteBrushColor

Writes the color of the specified brush. (Inherited from JsonContext.)

WriteBrushes

Writes all currently accumulated brushes. (Inherited from JsonContext.)

WriteColor

Writes a Color object. (Inherited from JsonContext.)

WriteColorBlend

Overloaded.   (Inherited from JsonContext.)

WriteComposite

Writes the properties of a CompositeNode, which are marked with the AutoJson attribute.

WriteEffect

Writes a NodeEffect object.

WriteEnum

Writes an enum value. (Inherited from JsonContext.)

WriteFont

Writes a Font object.

WriteHandlesStyle

Writes a HandlesVisualStyle object.

WriteImage

Writes an Image object. (Inherited from JsonContext.)

WriteImageAsync

Writes an Image object. (Inherited from JsonContext.)

WriteImages

Writes all currently accumulated images. (Inherited from JsonContext.)

WriteImagesAsync

Writes all currently accumulated images asynchronously. (Inherited from JsonContext.)

WriteItemId

Writes a reference to the specified item.

WriteItemType

Writes an item type.

WriteObject

Writes an object. (Inherited from JsonContext.)

WritePen

Writes a MindFusion.Drawing.Pen object. (Inherited from JsonContext.)

WritePointF

Writes a Point object. (Inherited from JsonContext.)

WritePointString

Writes a Point string. (Inherited from JsonContext.)

WriteRectangleF

Writes a Rect object. (Inherited from JsonContext.)

WriteShape

Writes a Shape object.

WriteSizeF

Writes a SizeF object. (Inherited from JsonContext.)

WriteStringFormat

Writes a StringFormat object. (Inherited from JsonContext.)

WriteStyle

Writes a Style object.

WriteSvg

Writes an SvgContent object.

WriteTag

Writes the specified tag of the specified object.

WriteTheme

Writes a Theme object.

WriteThickness

Writes a Thickness object.

 Protected Methods

  Name Description

Base64Decode

Decodes a string from Base64 representation. (Inherited from JsonContext.)

Base64Encode

Encodes a string to Base64 representation. (Inherited from JsonContext.)

ToCamelCase

Converts a string to Pascal case. (Inherited from JsonContext.)

ToPascalCase

Converts a string to Camel case. (Inherited from JsonContext.)

 See Also