iTextSharp.text.Chunk.GetWidthPoint C# (CSharp) Метод

GetWidthPoint() публичный Метод

public GetWidthPoint ( ) : float
Результат float
        public float GetWidthPoint()
        {
            if (GetImage() != null) {
                return GetImage().ScaledWidth;
            }
            return font.GetCalculatedBaseFont(true).GetWidthPoint(Content, font.CalculatedSize) * HorizontalScaling;
        }

Usage Example

Пример #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