AddBiLevelEffect()

IImageTransformOperationCollection::AddBiLevelEffect(float) method

Adds the new Bi-Level (black/white) effect to the end of a collection.

virtual System::SharedPtr<IBiLevel> Aspose::Slides::Effects::IImageTransformOperationCollection::AddBiLevelEffect(float threshold)=0

Arguments

ParameterTypeDescription
thresholdfloatthe luminance threshold for the Bi-Level effect. Values greater than or equal to the threshold are set to white. Values lesser than the threshold are set to black.

Return Value

Index of the new image effect in a collection.

See Also