public CTLine GetTruncatedLine(double width, CTLineTruncation truncationType, CTLine truncationToken) { var h = CTLineCreateTruncatedLine(handle, width, truncationType, truncationToken == null ? IntPtr.Zero : truncationToken.Handle); if (h == IntPtr.Zero) { return(null); } return(new CTLine(h, true)); }
public CTLine GetTruncatedLine(double width, CTLineTruncation truncationType, CTLine truncationToken) { var h = CTLineCreateTruncatedLine (handle, width, truncationType, truncationToken == null ? IntPtr.Zero : truncationToken.Handle); if (h == IntPtr.Zero) return null; return new CTLine (h, true); }