PrintDocument for WinForms
Style クラス メンバ
プロパティ  メソッド 


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 : Style クラス

Styleデータ型で公開されるメンバを以下の表に示します。

パブリック プロパティ
 名前解説
Public プロパティGets or sets a C1HyperlinkAttrs for active hyperlinks.  
Public プロパティGets or sets the expression used to calculate Style.ActiveHyperlinkAttrs.  
Public プロパティGets or sets the Style that is the ambient parent of the current style.

If non-null, that style provides the values for ambient properties of the current style that have not been explicitly set.

If null, such properties are inherited from the style of the containing object.

This property is null by default.

 
Public プロパティGets or sets the background color. If both this and Style.Brush properties are specified for a style, this property takes precedence.  
Public プロパティGets or sets the expression used to calculate Style.BackColor.  
Public プロパティGets or sets the background image. The image is aligned using Style.BackgroundImageAlign.  
Public プロパティGets or sets the background image alignment.  
Public プロパティGets or sets the expression used to calculate Style.BackgroundImage.  
Public プロパティGets or sets the name of the background image in C1PrintDocument.Dictionary on the current document.  
Public プロパティGets or sets the borders drawn around the current style's owner object.  
Public プロパティGets or sets the brush used to fill the background. If both this and Style.BackColor properties are specified for a style, the BackColor takes precedence.  
Public プロパティGets or sets the expression used to calculate Style.Brush.  
Public プロパティGets or sets the spacing between characters in a text.  
Public プロパティGets or sets the expression used to calculate Style.CharSpacing.  
Public プロパティGets or sets the amount (in percent) by which to increase or decrease the widths of characters in a text.  
Public プロパティGets or sets the expression used to calculate Style.CharWidth.  
Public プロパティGets the collection of child styles (i.e. Style objects that have their Style.Parent set to the current style).  
Public プロパティGets or sets a value indicating whether just the client area of a System.Windows.Forms.Control, or the whole control, is rendered by the RenderImage object owning the current style.  
Public プロパティGets or sets the expression used to calculate Style.ClientAreaOnly.  
Public プロパティGets or sets the alignment of the current style's owner object within its container in a block flow.  
Public プロパティGets or sets the alignment of children of the current style's owner object in a block flow.  
Public プロパティGets or sets the expression used to calculate Style.FlowAlignChildren.  
Public プロパティGets or sets the expression used to calculate Style.FlowAlign.  
Public プロパティGets or sets the font.  
Public プロパティGets or sets a value indicating whether the font is bold.  
Public プロパティGets or sets the expression used to calculate Style.FontBold.  
Public プロパティGets or sets a value indicating whether the font is italic.  
Public プロパティGets or sets the expression used to calculate Style.FontItalic.  
Public プロパティGets or sets the face name of the font.  
Public プロパティGets or sets the expression used to calculate Style.FontName.  
Public プロパティGets or sets the em-size of the font.  
Public プロパティGets or sets the expression used to calculate Style.FontSize.  
Public プロパティGets or sets a value indicating whether the font is strikeout.  
Public プロパティGets or sets the expression used to calculate Style.FontStrikeout.  
Public プロパティGets or sets a value indicating whether the font is underlined.  
Public プロパティGets or sets the expression used to calculate Style.FontUnderline.  
Public プロパティGets or sets the grid lines used to draw tables.  
Public プロパティGets a value indicating whether the Style.ActiveHyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.BackColor property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.BackgroundImage property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.Brush property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.CharSpacing property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.CharWidth property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the current style's Children collection has been initialized and contains one or more elements.  
Public プロパティGets a value indicating whether the ClietAreaOnly property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the current style has calculated properties.  
Public プロパティGets a value indicating whether the Style.FlowAlign property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.FlowAlignChildren property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.Font property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontBold property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontItalic property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontName property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontSize property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontStrikeout property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.FontUnderline property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.HoverHyperlinkAttrs property is specified for current Style object. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.HyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.JustifyEndOfLines property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.JustifyLastLine property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.LineSpacing property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the MeasureTralingSpaces property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.MinOrphanLines property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.RightToLeft property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.ShapeFillBrush property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.ShapeFillColor property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.ShapeLine property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.TextAlignHorz property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.TextAlignVert property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.TextAngle property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.TextColor property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.TextIndent property is defined on the current style.  
Public プロパティGets a value indicating whether the Style.TextPosition property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.VisitedHyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.WordWrap property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets a value indicating whether the Style.WordWrapMode property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
Public プロパティGets or sets a C1HyperlinkAttrs for highlighted hyperlinks.  
Public プロパティGets or sets the expression used to calculate Style.HoverHyperlinkAttrs.  
Public プロパティGets or sets a C1HyperlinkAttrs for "normal" (neither visited nor highlighted) hyperlinks.  
Public プロパティGets or sets the expression used to calculate Style.HyperlinkAttrs.  
Public プロパティGets or sets the foreground image alignment.  
Public プロパティGets or sets a value indicating whether lines of text ending with a newline character should be justified if the current style has Style.TextAlignHorz set to AlignHorzEnum.Justify or AlignHorzEnum.JustifyChars.  
Public プロパティGets or sets the expression used to calculate Style.JustifyEndOfLines.  
Public プロパティGets or sets a value indicating whether the last line of text should be justified if the current style has Style.TextAlignHorz set to AlignHorzEnum.Justify or AlignHorzEnum.JustifyChars.  
Public プロパティGets or sets the expression used to calculate Style.JustifyLastLine.  
Public プロパティGets or sets the line spacing of a text in percent.  
Public プロパティGets or sets the expression used to calculate Style.LineSpacing.  
Public プロパティGets or sets a value indicating whether spaces at ends of text lines are taken into account when measuring the text.  
Public プロパティGets or sets the expression used to calculate Style.MeasureTrailingSpaces.  
Public プロパティGets or sets the minimum number of orphan text lines allowed on a page before or after a page break.  
Public プロパティGets or sets the expression used to calculate Style.MinOrphanLines.  
Public プロパティGets the owner of the current style.  
Public プロパティGets or sets the padding (white space added between the style owner's content and borders).  
Public プロパティGets or sets the Style that is the parent of the current style.

If non-null, that style provides the values for non-ambient properties of the current style that have not been explicitly set.

If null, such properties have default values.

This property is null by default.

 
Public プロパティSets both parents (Style.Parent and Style.AmbientParent) to the same value.  
Public プロパティGets or sets a value indicating whether right-to-left text rendering rules should be used.  
Public プロパティGets or sets properties of the shadow cast by the current object. By default the shadow is invisible due to being 100% transparent. Set Shadow.Transparency to a value less than 100, to show shadow. Other properties can be adjusted as needed.  
Public プロパティGets or sets the brush used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and Style.ShapeFillColor are specified, ShapeFillColor takes precedence.  
Public プロパティGets or sets the expression used to calculate Style.ShapeFillBrush.  
Public プロパティGets or sets the color used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and Style.ShapeFillBrush are specified, this property takes precedence.  
Public プロパティGets or sets the expression used to calculate Style.ShapeFillBrush.  
Public プロパティGets or sets the style of lines used to draw shape objects (RenderLine, RenderRectangle etc).  
Public プロパティGets or sets the expression used to calculate Style.ShapeLine.  
Public プロパティGets or sets the spacing between the the current style's owner and the surrounding objects.  
Public プロパティGets or sets the horizontal text alignment.  
Public プロパティGets or sets the expression used to calculate Style.TextAlignHorz.  
Public プロパティGets or sets the vertical text alignment.  
Public プロパティGets or sets the expression used to calculate Style.TextAlignVert.  
Public プロパティGets or sets the text rotation angle, in degrees counterclockwise from the X axis.  
Public プロパティGets or sets the expression used to calculate Style.TextAngle.  
Public プロパティGets or sets the text (foreground) color.  
Public プロパティGets or sets the expression used to calculate Style.TextColor.  
Public プロパティGets or sets the indentation of the first line in a block of text.  
Public プロパティGets or sets the expression used to calculate Style.TextIndent.  
Public プロパティGets or sets a value indicating whether text is rendered normally, or as superscript or subscript.  
Public プロパティGets or sets the expression used to calculate Style.TextPosition.  
Public プロパティGets or sets a C1HyperlinkAttrs for visited hyperlinks.  
Public プロパティGets or sets the expression used to calculate Style.VisitedHyperlinkAttrs.  
Public プロパティGets or sets a value indicating whether text automatically wraps to the next line when there is not enough space left on the current line.  
Public プロパティGets or sets the expression used to calculate Style.WordWrap.  
Public プロパティGets or sets a value indicating how words can be split when text lines wrap.

This property is ignored if Style.WordWrap is false.

The default value is WordWrapMode.Normal

 
Public プロパティGets or sets the expression used to calculate Style.WordWrapMode.  
トップ
パブリック メソッド
 名前解説
Public メソッドCopies to the current style all properties of another Style object that have been explicitly set on that other style, plus the values of the Style.Parent and Style.AmbientParent properties.  
Public メソッドClears the current style, resets all properties so that they inherit from the parent style.  
Public メソッドResets the Style.ActiveHyperlinkAttrs property to an undefined state.  
Public メソッドResets the Style.BackColor property to an undefined state.  
Public メソッドResets the Style.BackgroundImage property to an undefined state.  
Public メソッドResets the Style.Brush property to an undefined state.  
Public メソッドResets the Style.CharSpacing property to an undefined state.  
Public メソッドResets the Style.CharWidth property to an undefined state.  
Public メソッドResets the Style.ClientAreaOnly property to an undefined state.  
Public メソッドResets the Style.FlowAlign property to an undefined state.  
Public メソッドResets the Style.FlowAlignChildren property to an undefined state.  
Public メソッドResets the Style.Font property to an undefined state.  
Public メソッドResets the Style.FontBold property to an undefined state.  
Public メソッドResets the Style.FontItalic property to an undefined state.  
Public メソッドResets the Style.FontName property to an undefined state.  
Public メソッドResets the Style.FontSize property to an undefined state.  
Public メソッドResets the Style.FontStrikeout property to an undefined state.  
Public メソッドResets the Style.FontUnderline property to an undefined state.  
Public メソッドResets value of the Style.HoverHyperlinkAttrs property.  
Public メソッドResets the Style.HyperlinkAttrs property to an undefined state.  
Public メソッドResets the Style.JustifyEndOfLines property to an undefined state.  
Public メソッドResets the Style.JustifyLastLine property to an undefined state.  
Public メソッドResets the Style.LineSpacing property to an undefined state.  
Public メソッドResets the Style.MeasureTrailingSpaces property to an undefined state.  
Public メソッドResets the Style.MinOrphanLines property to an undefined state.  
Public メソッドResets the Style.RightToLeft property to an undefined state.  
Public メソッドResets the Style.ShapeFillBrush property to an undefined state.  
Public メソッドResets the Style.ShapeFillColor property to an undefined state.  
Public メソッドResets the Style.ShapeLine property to an undefined state.  
Public メソッドResets the Style.TextAlignHorz property to an undefined state.  
Public メソッドResets the Style.TextAlignVert property to an undefined state.  
Public メソッドResets the Style.TextAngle property to an undefined state.  
Public メソッドResets the Style.TextColor property to an undefined state.  
Public メソッドResets the Style.TextIndent property to an undefined state.  
Public メソッドResets the Style.TextPosition property to an undefined state.  
Public メソッドResets the Style.VisitedHyperlinkAttrs property to undefined state.  
Public メソッドResets the Style.WordWrap property to an undefined state.  
Public メソッドResets the Style.WordWrapMode property to an undefined state.  
トップ
参照

Style クラス
C1.C1Preview 名前空間