iTextSharp.text.Chunk.GetWidthPoint C# (CSharp) Method

GetWidthPoint() public method

public GetWidthPoint ( ) : float
return float
        public float GetWidthPoint()
        {
            if (GetImage() != null) {
                return GetImage().ScaledWidth;
            }
            return font.GetCalculatedBaseFont(true).GetWidthPoint(Content, font.CalculatedSize) * HorizontalScaling;
        }

Usage Example

Exemplo n.º 1
0
 /**
  * Sets the indentation of this paragraph on the left side.
  *
  * @param	indentation		the new indentation
  */
 virtual public void SetIndentationLeft(float indentation, bool autoindent)
 {
     if (autoindent)
     {
         IndentationLeft = ListSymbol.GetWidthPoint();
     }
     else
     {
         IndentationLeft = indentation;
     }
 }
All Usage Examples Of iTextSharp.text.Chunk::GetWidthPoint