Skip to content

Latest commit

 

History

History
99 lines (67 loc) · 3.56 KB

nf-gdiplusstringformat-stringformat-settrimming.md

File metadata and controls

99 lines (67 loc) · 3.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist req.product ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:gdiplusstringformat.StringFormat.SetTrimming
StringFormat::SetTrimming (gdiplusstringformat.h)
The StringFormat::SetTrimming method sets the trimming style for this StringFormat object. The trimming style determines how to trim a string so that it fits into the layout rectangle.
SetTrimming
SetTrimming method [GDI+]
SetTrimming method [GDI+]
StringFormat class
StringFormat class [GDI+]
SetTrimming method
StringFormat.SetTrimming
StringFormat::SetTrimming
_gdiplus_CLASS_StringFormat_SetTrimming_trimming_
gdiplus._gdiplus_CLASS_StringFormat_SetTrimming_trimming_
gdiplus\_gdiplus_CLASS_StringFormat_SetTrimming_trimming_.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\classes\stringformatclass\stringformatmethods\settrimming.htm
12/05/2018
SetTrimming, SetTrimming method [GDI+], SetTrimming method [GDI+],StringFormat class, StringFormat class [GDI+],SetTrimming method, StringFormat.SetTrimming, StringFormat::SetTrimming, _gdiplus_CLASS_StringFormat_SetTrimming_trimming_, gdiplus._gdiplus_CLASS_StringFormat_SetTrimming_trimming_
gdiplusstringformat.h
Gdiplus.h
Windows
Windows XP, Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdiplus.lib
Gdiplus.dll
Windows
GDI+ 1.0
19H1
StringFormat::SetTrimming
gdiplusstringformat/StringFormat::SetTrimming
c++
APIRef
kbSyntax
COM
Gdiplus.dll
StringFormat.SetTrimming

StringFormat::SetTrimming

-description

The StringFormat::SetTrimming method sets the trimming style for this StringFormat object. The trimming style determines how to trim a string so that it fits into the layout rectangle.

-parameters

-param trimming [in]

Type: StringTrimming

Element of the StringTrimming enumeration that specifies the style of trimming to be performed on the string.

-returns

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

-see-also

Font

Pen

RectF

SolidBrush

Status

StringFormat

StringTrimming