AddBiLevelEffect()

ImageTransformOperationCollection::AddBiLevelEffect(float) method

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

System::SharedPtr<IBiLevel> Aspose::Slides::Effects::ImageTransformOperationCollection::AddBiLevelEffect(float threshold) override

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