/// <summary> /// Initializes a new instance of the <see cref="FrameStyle"/> class. /// </summary> /// <param name="document">The document.</param> /// <param name="styleName">Name of the style.</param> public FrameStyle(IDocument document, string styleName) { this.Document = document; this.InitStandards(); this.NewXmlNode(); this.StyleName = styleName; this.GraphicProperties = new GraphicProperties((IStyle)this); }
/// <summary> /// Creates the graphic properties. /// </summary> /// <param name="style">The style.</param> /// <param name="propertyNode">The property node.</param> /// <returns></returns> private GraphicProperties CreateGraphicProperties(IStyle style, XmlNode propertyNode) { GraphicProperties graphicProperties = new GraphicProperties(style); graphicProperties.Node = propertyNode; return graphicProperties; }