System.Drawing.Size.Truncate C# (CSharp) 메소드

Truncate() 공개 정적인 메소드

Converts a SizeF to a Size by performing a truncate operation on all the coordinates.
public static Truncate ( SizeF value ) : Size
value SizeF
리턴 Size
        public static Size Truncate(SizeF value) => new Size((int)value.Width, (int)value.Height);

Same methods

Size::Truncate ( System value ) : System.Drawing.Size

Usage Example

예제 #1
0
파일: SizeF.cs 프로젝트: dca-davi/corefx
 public Size ToSize()
 {
     return(Size.Truncate(this));
 }
All Usage Examples Of System.Drawing.Size::Truncate