Aspose::BarCode::Generation::BaseGenerationParameters::get_RotationAngle method
BaseGenerationParameters::get_RotationAngle method
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
float Aspose::BarCode::Generation::BaseGenerationParameters::get_RotationAngle()
Remarks
This sample shows how to create and save a BarCode image.
[C#]
using (var generator = new BarcodeGenerator(EncodeTypes.DataMatrix))
{
generator.Parameters.RotationAngle = 7f;
generator.Save("test.png");
}
See Also
- Class BaseGenerationParameters
- Namespace Aspose::BarCode::Generation
- Library Aspose.BarCode for C++