Set the AutoTrimElements property of the EDIDocument
EDIDocument doc = new EDIDocument(); doc.AutoTrimElements = true;
View All Articles