Hi, is there in the direction of a known problem with version 18.4?
Here the code snippet:
public static bool HasOnlyWhiteColor(Aspose.Pdf.Page page)
{
bool foundTextOp = false;
foreach (Aspose.Pdf.Operator op in page.Contents)
{
Aspose.Pdf.Operator.TextOperator opTX = op as Aspose.Pdf.Operator.TextOperator;
if (opTX != null) foundTextOp = true;
try
{
Aspose.Pdf.Operator.SetColorOperator opSC = op as Aspose.Pdf.Operator.SetColorOperator;
if (opSC == null) continue;
System.Drawing.Color color = opSC.getColor();
if (color.R != 255 || color.G != 255 || color.B != 255) return false;
}
catch { return false; }
}
return !foundTextOp;
}
Unfortunately we do not have that much time again to take a version change in before the next release.
Here the enviroment informations:
Windows Server 2012 R2 Standard 64-bit (6.3, Build 9600)
German (Regional Setting: German)
Virtual Machine
Hyper-V UEFI Release v1.0
.NET Framework 4.0.30319
Display device:
RDPUDD Chained DD
Microsoft
Driver File Version: 6.03.9600.18619 (English)
Driver Version: 6.3.9600.18907
If you still need certain information, please notify, thank you